package ObjectFn4;

import java.util.Comparator;

public class staticFn {
    public static int sortByAge(student o1, student o2){
         return  o1.getAge() - o2.getAge();
    }
    public static int sortByAgeNotStatic(student o1, student o2){
        return  o1.getAge() - o2.getAge();
    }
}
